package io.renren.modules.health.service;

import io.renren.common.page.PageData;
import io.renren.common.service.CrudService;
import io.renren.modules.health.dto.PostsCommentsDTO;
import io.renren.modules.health.entity.PostsCommentsEntity;

import java.util.List;
import java.util.Map;

/**
 * 帖子评论表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-05-09
 */
public interface PostsCommentsService extends CrudService<PostsCommentsEntity, PostsCommentsDTO> {

    List<PostsCommentsDTO> getCommentsByPostsId(Long postsId);

    PageData<PostsCommentsDTO> pagePostsComments(Map<String, Object> params);
}